package com.kern.academic.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  t_role_rights 角色与权限 关联中间表
 * Created by caoshi at 21:53 2021-08-08
 */
@Data
@Table(name = "t_role_rights")
@Entity
public class XRoleRights {


    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "role_id")
    private String roleId;

    @Column(name = "rights_id")
    private String rightsId;

}
